package com.xizi.equals;

/**
 * @author xizizzz
 * @description: TODO
 * @date 2021-7-17下午 08:10
 */
public class Test {
    public static void main(String[] args) throws ClassNotFoundException {


        System.out.println("下面是测试Classloader的效果");
        Class<?> aClass = Class.forName("com.xizi.equals.Test");


        System.out.println("----------------------------------");
        System.out.println("下面是测试Class.forName的效果");
        ClassLoader classLoader = ClassLoader.getSystemClassLoader();
        Class<?> loadClass = classLoader.loadClass("com.xizi.equals.Test");
    }
}
